<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding="ISO-8859-1"/>

    <xsl:template match="/PLANETES">
        <HTML>
            <HEAD>
                <TITLE>
                    Informations sur les plantes
                </TITLE>
            </HEAD>
            <BODY>
                <H1>
                    Informations sur les plantes
                </H1>
                    <xsl:apply-templates/>
            </BODY>
        </HTML>
    </xsl:template>
    
    <xsl:template match="PLANETE">
        <xsl:if test="NOM='Mercure'">
          La premire plante est
          <xsl:value-of 
              select="concat(substring-before(NOM, c'), 
              substring(NOM, 4, 1), substring-after(NOM, c'))"/>.
          <BR/>
        </xsl:if>
   </xsl:template>
    
    <xsl:template match="*">
    </xsl:template>

</xsl:stylesheet>

